import { http } from '@/server'
import type { HttpResponsePending } from '@/server/interface'
import type { ClassDetail } from './detail/interface'

/** 班级详情 */
export const fetchClassDetail = (id: number): HttpResponsePending<ClassDetail> =>
    http.get(`/country/group/info/${id}`)
